/**
 * ReturnMsg.java 
 * Copyright © 2015-3015, 杭州泊享网络科技有限公司
 * 
 * @author Liu Tao
 * @create 2014年11月1日
 */
package com.pshare.constant;


/**
 * 错误消息常量定义接口基类
 */
public interface ReturnMsgEn {
    
	String NO_LOGIN = "Please Log on";
	String NO_PERMISSION = "You have no permission to do this";
    String SYSTEM_ERROR = "System is busy now";
//    String UNSUPPORTMEDIATYPE = "unsupported media type";
    
    String DATA_NOT_FOUND = "The data is not existed or has been deleted";
    
     String PARAMETER_XSS_SECURITY = "对不起，您的请求没有操作成功，因为您的请求中包含非法的参数值。";
    
    String PHONE_CODE_NOT_PASS = "对不起，您的手机校验码不正确。";
    
    String SESSION_TIME_OUT = "对不起，您的登录会话已经超时，请重新登录。";
    
    String CELLPHONE_CONFLICT = "对不起，当前手机号码已经被使用。";
    String CELLPHONE_CONFLICT_NO_ACTIVE = "对不起，当前手机号码已经被注册但未激活。";
    String LOGINNAME_IS_NULL = "登录名不能为空";
    String LOGINNAME_CONFLICT = "对不起，当前登录名已经被使用。";
    String LOGINNAME_CONFLICT_NO_ACTIVE = "对不起，当前登录名已经被注册但未激活。";
    
    String NO_EMAIL = "Please set your email address first";
    String UNSUPPORT_EMAIL_TYPE = "不支持的邮件类型";
    String MAIL_IS_NULL = "邮件消息对象不能为空";
    String MAIL_FROM_ADDR_EMPTY = "发件人地址不能为空";
    String MAIL_TO_ADDR_EMPTY = "收件人地址不能为空";
    String SMTP_HOST_NULL = "邮件服务器地址不能为空";
    String SEND_MAIL_ERROR = "发送邮件失败";
    String ADD_URL_ATTACHMENT_ERROR = "添加网络链接类型的邮件附件时发生异常";
    String ADD_ATTACHMENT_ERROR = "添加邮件附件时发生异常";
    

    String NO_ACCOUNT = "sorry, the account is not exiting";
    String USER_LOCKED = "soryy, your account has been locked for 10 minutes because of typing with wrong password for 3 times in 30 seconds.";
	String USER_FREEZE="sorry, your account has been freezed.";
    String WRONG_PWD = "the password is wrong";
    String EMPTY_PWD = "the password should not be blank";
    String PWD_MAX_LENGTH = "密码不能超过12个字	";
    String EMPTY_LOGINNAME = "登录名不能为空";
    String LOGINNAME_MAX_LENGTH = "登录名不能超过16个字";
    
    String DEVICE_TOKEN_MAX_LENGTH = "设备编码不能超过80个字";
    String OS_TYPE_RANGE = "客户端类型不符";
    
    String USER_NOT_EXISTS = "该用户不存在";
    String USER_NOT_ALLOWED = "您无权登录本客户端";
    
    String KICKOUT_TITLE = "下线通知";
    String KICKOUT_CONTENT = "您的账号在其他设备登录，您已下线";
    
	// 用户信息相关
    String USER_NOT_SELECT = "请选择用户";
	String USER_LOGIN_NAME_CANNOT_BLANK = "用户名不能为空";
	String USER_LOGIN_NAME_LENGTH = "用户名长度应在3到20位之间";
	String USER_LOGIN_NAME_WORD = "用户名只允许使用英文和数字";
	String USER_LOGIN_NAME_EXISTS = "用户名已被使用";
	String USER_LOGIN_NAME_NOT_EXISTS = "The account is not existing. Please check your login name";
	String USER_PWD_CANNOT_BLANK = "密码不能为空";
	String USER_PWD_LENGTH = "密码长度应在6到20位之间";
	String USER_NAME_CANNOT_BLANK = "姓名不能为空";
	String USER_NAME_LENGTH = "姓名不能超过20位";
	
	String USER_PWD_LENTH_WARN = "密码长度为6-20位";
	String CHECKCODE_BLANK = "check code is blank";
	String CHECKCODE_WRONG = "check code is not matched";
	String FAILED_SEND_SMS = "短信发送失败，请重试";
	String WRONG_CLIENT = "客户端未能识别";
	String WRONG_IDENTITY = "注册身份有误";
	String EMAIL_MAX_LENGTH = "邮箱长度不能超过32位";
	String AGE_NOT_RIGHT = "年龄有误";
	String GENDER_NOT_RIGHT = "性别有误";
	String USER_STATUS_IS_NULL = "用户状态不能为空";
	String USER_STATUS_WRONG = "请输入正确的用户状态值";
	String USER_INFO_NULL = "用户信息有误";
	
	String ADMIN_POS_IS_NULL = "管理员岗位不能为空";

	String CELLPHONE_CANNOT_BLANK = "手机号码不能为空";
	String CELLPHONE_ALREADY_BINDED = "The cellphone has already been binded";
	String CELLPHONE_ALREADY_BINDED_OTHER = "该手机号码已被其他账号绑定";
	String CELLPHONE_ALREADY_BINDED_SELF = "该手机号码已经是您绑定好的号码，不需要重复操作";
//	String CELLPHONE_NOT_BINDED = "该手机号码未被绑定";
	String WRONG_REG_UUID = "Please operate with normal process";
	
	String MSG_CONTENT_BLANK = "消息内容不能为空";
	String MSG_CONTENT_LENGTH = "消息长度不能超过255个字";
	
	String FEEDBACK_CONTENT_BLANK = "反馈内容不能为空";
	String FEEDBACK_CONTENT_LENGTH = "反馈长度不能超过255个字";

	// 客户端版本号错误提示
	String CLIENT_VERSION_SEL = "请选择客户端类型";
	String CLIENT_VERSION_NUM_SMALL = "新版本号必须大于旧版本号";
	
	String USER_CLIENT_TYPE_NULL = "客户端类型不能为空";
	String WRONG_CELLPHONE_FORMAT = "the format of the cellphone number is not right";
	String WRONG_TELEPHONE_FORMAT = "the  format of the telephone number is not right";
	String PWD_BLANK = "密码不能为空";
	String PWD_CONTAIN_BLANK = "密码不能包含空格";
	String PWD_LENGTH = "密码长度须在6到15位之间";
	String NAME_FORMAT = "请输入正确的姓名";

	String CANNOT_GET_CURRENT_POSITION = "无法获取当前位置";
	
	String PROVINCE_CANT_BE_NULL = "请选择所在省份";
	String CITY_CANT_BE_NULL = "请选择所在城市";
	String DISTRICT_CANT_BE_NULL = "请选择所在区县";
	String ADDRESS_CANT_BE_BLANK = "地址不能为空";
	String ADDRESS_MAX_LENGTH = "地址不能超过64个字";
	String RECEIVER_CANT_BE_BLANK = "收件人姓名不能为空";
	String RECEIVER_MAX_LENGTH = "收件人姓名不能超过16个字";
	
	String BEAN_IS_NULL = "the content can not be blank";
	String WRONG_PARAM = "wrong parameter";
	String WRONG_SIGN = "wrong signature";
	String DUPLICATED_VALUE = "duplicate data is not allowed";
	
	String POINT_LACK = "Your point is not enough";
	
	String USER_NOT_REG = "the user has not registered yet";
}
